package com.acegear.horizon.domain.events;

import java.util.List;

/**
 * Created by caiyanying on 17/3/15.
 */
public class PostLikeEvent extends BaseEvent {

  private List<Long> userId;

  private Long postId;

  public PostLikeEvent(List<Long> userId, Long postId) {
    this.userId = userId;
    this.postId = postId;
    genEventId();
  }

  public PostLikeEvent() {
  }

  public List<Long> getUserId() {
    return userId;
  }

  public void setUserId(List<Long> userId) {
    this.userId = userId;
  }

  public Long getPostId() {
    return postId;
  }

  public void setPostId(Long postId) {
    this.postId = postId;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.user.post.like";
  }
}
